package com.junchenrobot.mes.domain;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 卷绕机位置信息
 *
 * @author SeaWave
 * @date 2022/11/22
 */
@Getter
@Setter
public class Winder implements Serializable {
    
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;
    
    /**
     * 线号
     */
    @TableField("winder_line")
    private Integer winderLine;
    
    /**
     * 纺丝位号
     */
    @TableField("winder_spinning_code")
    private Integer winderSpinningCode;
    
    @TableField("winder_name")
    private String winderName;
    
    @TableField("winder_left_position")
    private String winderLeftPosition;
    
    @TableField("winder_right_position")
    private String winderRightPosition;
    
    @TableField("winder_offset")
    private Integer winderOffset;
    
    /**
     * 数据创建时间
     */
    @TableField(value = "data_create_time", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime dataCreateTime;
    
    /**
     * 数据更新时间
     */
    @TableField(value = "data_update_time", fill = FieldFill.UPDATE)
    private LocalDateTime dataUpdateTime;
}
